﻿<!doctype html>
<html>

<head>
<title>代码笔记-让编程更简单</title>
<link href="http://codenote.file.alimmdn.com/css/codenote/base2.css" rel="stylesheet"><!--   css/base1.css-->
<link href="http://codenote.file.alimmdn.com/css/codenote/index2.css" rel="stylesheet"><!--  css/index1.css-->
<link href="http://codenote.file.alimmdn.com/css/codenote/bootstrap.min.css?t=1510580050574" rel="stylesheet"><!-- css/bootstrap.css -->

#parse("original_theme/header.html")
</head>
<body >

<div class="banner" style="width:100%">
  <section class="box">
    <ul class="texts">
      <p>如果只有理想而没有付诸行动</p>
      <p>就毫无意义</p>
    </ul>
    <div class="avatar"><a href="/"><span>博客</span></a></div>
  </section>
</div>
<!--banner广告-->
<br><br>
<!--article主体-->
<article> 
  <!--l_box-left开始-->
  <div class="l_box f_l"> 
    <!--topnews内容-->
    
    <div class="topnews">
      <h2> <b>最新</b>文章 </h2>
      <div id="articleArea">
      #foreach($member in $articles)
      <div class="blogs">
        <figure><a href='/' class='preview'><img src='$member.article.cover?imageMogr/v2/thumbnail/168x130'/></a> </figure>
        <h3><a href="/read/$member.article.id">$member.article.title</a></h3>
#if(!$member.article.password)
		<p>$member.article.content</p>
	#else
		<p>密码保护的文章</p>
		<form role="search" method="get" id="searchform" class="searchform" target="_blank" action="../read/$member.article.id">
				<div>
					<label class="screen-reader-text" for="s">输入密码：</label>
					<input type="text" value="" name="pw" id="s">
					<input type="submit" id="searchsubmit" value="确认">
				</div>
		</form>
	#end
        <ul>
        
          <p class="autor"> <span class="lm f_l"><a href="/category/$member.article.category">$member.article.category</a></span> <span class="dtime f_l">$member.time</span> <span class="viewnum f_l">浏览（$member.view）</span> <span class="pingl f_l">评论（<span id = "sourceId::$member.article.id" class = "cy_cmt_count" sid="$member.article.id" style="padding-left:0px;margin:0 0 0 0;">0</span>）</span></p>
        
        </ul>
      </div>
      #end
      

      </div>
      

	        
      

     
  <!-- 页码组件 -->
<ul id="pageArea" class="pagination">
	
    <li><a href="#">&laquo;</a></li>
    <li><a href="/index.html?page=$pages.page1">$pages.page1</a></li>
    #if("$pages.page2"!='$pages.page2')
    <li><a href="/index.html?page=$pages.page2">$pages.page2</a></li>
    #end
    #if("$pages.page3"!='$pages.page3')
    <li><a href="/index.html?page=$pages.page3">$pages.page3</a></li>
    #end
    #if("$pages.page4"!='$pages.page4')
    <li><a href="/index.html?page=$pages.page4">$pages.page4</a></li>
    #end
    #if("$pages.page5"!='$pages.page5')
    <li><a href="/index.html?page=$pages.page5">$pages.page5</a></li>
    #end
    #if("$pages.page6"!='$pages.page6')
    <li><a href="/index.html?page=$pages.page6">$pages.page6</a></li>
    #end
    #if("$pages.page7"!='$pages.page7')
    <li><a href="/index.html?page=$pages.page7">$pages.page7</a></li>
    #end
    <li><a href="#">&raquo;</a></li>
</ul>                  
      
    </div><br><br>
  </div>

 
  <!--l_box-left结束-->
  
  <div class="r_box f_r">
    <div class="tit01">
      <h3>关注我</h3>
      <div class="gzwm">
        <ul>
          <li><a class="xlwb" href="/" target="_blank">新浪微博</a></li>
          <li><a class="txwb" href="/" target="_blank">腾讯微博</a></li>
          <li><a class="rss" href="/" target="_blank">RSS</a></li>
          <li><a class="wx" href="/">邮箱</a></li>
        </ul>
      </div>
    </div>
     
    <!--tit01 end--> 
    
    <!--天气-->
    <div id="weather" class="weather" style="height:170px;padding:0px 0 0 0px">
      <iframe src="//www.seniverse.com/weather/weather.aspx?uid=U833825648&cid=CHJS000000&l=zh-CHS&p=SMART&a=1&u=C&s=5&m=0&x=1&d=0&fc=&bgc=&bc=&ti=0&in=0&li=" frameborder="0" scrolling="no" width="320" height="230" allowTransparency="true"></iframe> 
    </div>
    <div class="moreSelect" id="lp_right_select"> 
    
      <div class="ms-top">
        <ul class="hd" id="tab">
          <li class="cur">评分排行</li>
        </ul>
      </div>
      <div class="ms-main" id="ms-main" style="-webkit-box-sizing:content-box;box-sizing:-1">
        <div  class="bd bd-news" style="display: block;-webkit-box-sizing:content-box;box-sizing:-1">
          <ul><div id="popularlist2">
          #foreach($popular in $populars)
            <li><a href="/read/$popular.id" target="_blank" style="text-decoration:none">$popular.title</a></li>
          #end
          </div></ul>
        </div>
      </div>
      <!--ms-main end --> 
    </div>
    <!--切换卡 moreSelect end -->
    
    <div class="cloud">
      <h3>分类<a href="/">更多>></a></h3>
      <ul><div id="category">
      		#foreach($category in $categorys)
			<li><a style='text-decoration:none' href='/category/$category.category' class='tagc1' >$category.category</a></li>
      		#end
      </div></ul>
    </div>
    
    <!--share分享-->
    <div class="share2">
      <h2></h2>
      <!-- Baidu Button BEGIN -->
      <div class="bdshare_t bds_tools_32 get-codes-bdshare" id="bdshare"> <a class="bds_tsina"></a> <a class="bds_qzone"></a> <a class="bds_tqq"></a> <a class="bds_renren"></a> <span class="bds_more"></span> <a class="shareCount"></a> </div>
       <!-- Baidu Button END -->
      <p></p>
    </div>
    <!--share分享-->
    
    <div class="ad"> <object type="application/x-shockwave-flash" style="outline:none;" data="http://codenote.file.alimmdn.com/swf/codenote/mouse.swf" width="300" height="200"></object> <br> <br> </div>
  </div><br>
  <!--r_box end --> 
</article>
<!--article主体结束-->

#parse("original_theme/footer.html")


</body>
 
<script type="text/javascript" src="http://codenote.file.alimmdn.com/js/codenote/bootstrap-slider.min.js"></script><!-- js/silder.js -->
<script type="text/javascript" src="http://codenote.file.alimmdn.com/js/codenote/bootstrap.min.js"></script><!-- js/bootstrap.js -->
<!--[if lt IE 9]>

<!--js/modernizr.js--> 
<script src="http://codenote.file.alimmdn.com/js/codenote/modernizr.js"></script>

<!-- 返回顶部调用 begin -->
<script type="text/javascript" src="http://codenote.file.alimmdn.com/js/codenote/js.js"></script>
<script src="http://codenote.file.alimmdn.com/js/codenote/swfobject_modified.js" type="text/javascript"></script>
<!-- 返回顶部调用 end-->

<script type="text/javascript" src="../js/index.js"></script>
<script id="cy_cmt_num" src="https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cytbv2jfD">
</script>
</html>